<?php
/**
 * Minhlog Domain_Entity 友情链接类型类
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 *
 * @category   Domain
 * @package    Domain_Entity
 * @copyright  Copyright (c) 2009-2010 Minh.Shu@gmail.com
 * @license    New BSD License
 * @author     Minh.Shu
 * @version    $Id: Type.php 2 2010-01-17 13:49:08Z Minh.Shu $
 *
 */

class Domain_Entity_Link_Type extends Domain_Entity_Abstract
{
    protected $_typeId;
    protected $_typeName;
    protected $_typeDesc;
    protected $_displayOrder;

    // set/get方法定义开始
    public function setPrimaryId ($primaryId)
    {
        return $this->setTypeId($primaryId);
    }

    public function getPrimaryId()
    {
        return $this->getTypeId();
    }

    public function setTypeId($typeId)
    {
        $this->_typeId = (int) $typeId;
        return $this;
    }

    public function getTypeId()
    {
        return $this->_typeId;
    }

    public function setTypeName($typeName)
    {
        $this->_typeName = (string) $typeName;
        return $this;
    }

    public function getTypeName()
    {
        return $this->_typeName;
    }

    public function setTypeDesc($typeDesc)
    {
        $this->_typeDesc = (string) $typeDesc;
        return $this;
    }

    public function getTypeDesc()
    {
        return $this->_typeDesc;
    }

    public function setDisplayOrder($displayOrder)
    {
        $this->_displayOrder = (int) $displayOrder;
        return $this;
    }

    public function getDisplayOrder()
    {
        return $this->_displayOrder;
    } // set/get方法定义结束
}